import 'package:flutter/material.dart';

final ListViewModel data = ListViewModel(
    items: [
        
        ListItem(
            icon: Icons.cloud,
            title: '11:30 AM',
            subTitle: '10~19℃',
            isSelect: true,
        ),
        ListItem(
            icon: Icons.cloud,
            title: '12:30 AM',
            subTitle: '10~19℃',
        
        ),
        ListItem(
            icon: Icons.wb_sunny,
            title: '01:30 PM',
            subTitle: '19~25℃',
        
        ),
        ListItem(
            icon: Icons.wb_sunny,
            title: '02:30 PM',
            subTitle: '25~33℃',
        
        ),
        ListItem(
            icon: Icons.wb_iridescent,
            title: '03:30 PM',
            subTitle: '10~19℃',
        
        ),
    
    ]
);

class ListViewModel {
    
    final List<ListItem> items;
    
    ListViewModel({
        this.items = const []
    });
    
}

class ListItem {
    
    final IconData icon;
    final String title;
    final String subTitle;
    final bool isSelect;
    
    ListItem({this.icon, this.title, this.subTitle, this.isSelect = false});
    
}